<div style="margin:10px;">
<p>PHP初级程序员面试考卷</p>
<span>姓名：</span><span><?php echo $user_name; ?></span>
</div>

<form>

<div>问答题</div>

<div style="margin:20px;">
<ol>
<?php 
foreach ( $rows as $row ) {
    if ( $row->type == 0 ) {
        echo <<< html
<li>{$row->question}</li>
<textarea style="width:600px;resize:none;border:1px solid white;" onmouseover="$(this).css('border','1px solid gray');" onmouseout="$(this).css('border','1px solid white');"></textarea>

html;
    }

}

?> 
</ol>
</div>


<div>
<input type="submit" value="交卷" />
</div>
</form>
